package com.pactera.madp.cp.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pactera.madp.cp.api.dto.emp.EmployeeFollowCreateDTO;
import com.pactera.madp.cp.api.dto.emp.EmployeeFollowUpdateDTO;
import com.pactera.madp.cp.api.entity.employeeWechat.EmployeeFollowEntity;

/**
 * (CpEmployeeFollow)表服务接口
 *
 * @author yushen.qi
 * @since 2021-06-29 15:06:39
 */
public interface EmployeeFollowService extends IService<EmployeeFollowEntity> {

    boolean insert(EmployeeFollowCreateDTO dto);

    boolean update(EmployeeFollowUpdateDTO dto);

    void state(Integer id);

    IPage listByPage(Page page, String wxExternalUserid, String wxUserId);

    boolean  remove(Integer id);

}
